package com.company.modules.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.modules.project.entity.LoginAuthor;

import java.util.List;

/**
* @author Xmirror
* @description 针对表【login_author(登录授权)】的数据库操作Service
* @createDate 2022-02-26 13:18:41
*/
public interface LoginAuthorService extends IService<LoginAuthor> {

    List<LoginAuthor> findLoginAuthorByUserId(Integer userId);

    LoginAuthor findLoginAuthorByLoginAccount(String loginAccount);

    int modifyLoginAuthorPassword(Integer userId, String password, String salt);

}
